/**
 * 继承 Thread 类, 重写 run 方法
 */
public class ThreadExample1 extends Thread {
    @Override
    public void run() {
        for (int i = 0; i < 10; i++) {
            System.out.println("时局未定, 你我皆可以为传奇, 冲, 就完事了~~~");
        }
    }

    public static void main(String[] args) {
        ThreadExample1 threadExample1 = new ThreadExample1();
        threadExample1.start();
    }
}
